
/**
 * 返回数组中所有的值
 *
 * example 1: array_values( {firstname: 'Kevin', surname: 'van Zonneveld'} )
 * returns 1: [ 'Kevin', 'van Zonneveld' ]
 *
 * @param input
 * @returns {Array}
 */
export default function array_values (input) {
    let tmpArr = [];
    Object.keys(input).map( key => {
        tmpArr[tmpArr.length] = input[key];
    });
    return tmpArr;
}